<?phpclass DecodeInput{	public function Decode()	{		$ci =& get_instance();				if ($ci->input->get("format") == "xml")		{				}				if ($ci->input->get("format") == "json")		{			$data = json_decode($ci->input->post());			$data->session = ci->input->get("session");			if ($data->session != "")			{				$ci->load->library('session');				$session = $ci->session->GetByContent($data->session);								if ($session->iduser != "")				{					$ci->load->library('user');					$data->user = $ci->user->GetById($session->iduser);				}			}			var_dump($data);			echo "hhh";			return $data; 		}	}}?>